package com.cloudkinto.dto.stock.snap.sku;

import com.cloudkinto.vo.order.inbound.OrderInputListProductVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class StockSkuSnapPageDto {
    private String id;
    @ApiModelProperty("箱内sku情况")
    List<OrderInputListProductVo> skuList;
    @ApiModelProperty("sku/箱类型号")
    private String sku;

    private String spu;
    private String mainBarcode;
    @ApiModelProperty("产品名称/自定义箱条码")
    private String productName;
    @ApiModelProperty("库存统计日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+9")
    private Date date;
    private Long companyId;
    private Long whId;
    private String whCode;
    private String whNameCn;
    @ApiModelProperty("库存属性")
    private int stockAttribute;
    @ApiModelProperty("上架日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+9")
    private Date inputDate;
    @ApiModelProperty("数量")
    private int quantity;
    @ApiModelProperty("库龄")
    private int age;
    private BigDecimal heightBs;
    private BigDecimal widthBs;
    private BigDecimal lengthBs;
}
